package com.parking.mgr.common.pojo.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName Successes
 * @Description 成功响应消息体
 * @author: zhijianpu
 * @Date: 2025/2/28
 */
@Data
@ApiModel(description = "成功响应消息体")
public class Successes {

    /**
     * 响应状态码
     */
    @ApiModelProperty(value = "响应状态码")
    private Integer code;

    /**
     * 响应信息
     */
    @ApiModelProperty(value = "响应消息")
    private String message;

    public Successes(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

}
